home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
program
/
dejava.zip
/
HelloWorldApp.dis
< prev
next >
Wrap
Text File
|
1996-09-09
|
3KB
|
100 lines
DeJAVA, Java Disassembler, Version 1.02
(c) 1996 PFP Software GmbH, Duesseldorf, Germany.
Reading: HelloWorldApp.class
// Compiled from: HelloWorldApp.java
class HelloWorldApp extends java/lang/Object {
static int Limit;
public static void main( String[] ) {
String[] args; // Slot: 0 Start: 0 Stop: 79
int j; // Slot: 1 Start: 4 Stop: 79
int i; // Slot: 2 Start: 57 Stop: 79
// Max Stack: 2 Max Locals: 3
9: int j = Limit;
0: GETSTATIC < Field = int HelloWorldApp.Limit >
3: ISTORE_1 < Local No. 1 = int j >
11: switch (Limit) {
4: GETSTATIC < Field = int HelloWorldApp.Limit >
7: TABLESWITCH 1 to 3 Default: 53
1: 32
2: 53
3: 37
12: case 1: j = 1; break;
32: ICONST_1
33: ISTORE_1 < Local No. 1 = int j >
34: GOTO 55
13: case 3: j = j==1 ? 17: 12; break;
37: ILOAD_1 < Local No. 1 = int j >
38: ICONST_1
39: IF_ICMPNE 47
42: BIPUSH 17
44: GOTO 49
47: BIPUSH 12
49: ISTORE_1 < Local No. 1 = int j >
50: GOTO 55
14: default: j = 3; break;
53: ICONST_3
54: ISTORE_1 < Local No. 1 = int j >
17: for ( int i = 1; i <= Limit; i++ )
55: ICONST_1
56: ISTORE_2 < Local No. 2 = int i >
57: GOTO 71
18: System.out.println( "Hello World!" );
60: GETSTATIC < Field = PrintStream System.out >
63: LDC1 < String = "Hello World!" >
65: INVOKEVIRTUAL < Method = void PrintStream.println( String ) >
17: for ( int i = 1; i <= Limit; i++ )
68: IINC < Local No. 2 = int i > by 1
71: ILOAD_2 < Local No. 2 = int i >
72: GETSTATIC < Field = int HelloWorldApp.Limit >
75: IF_ICMPLE 60
20: return;
78: RETURN
}
void <init>() {
HelloWorldApp this; // Slot: 0 Start: 0 Stop: 5
// Max Stack: 1 Max Locals: 1
5: class HelloWorldApp {
0: ALOAD_0 < Local No. 0 = HelloWorldApp this >
1: INVOKENONVIRTUAL < Method = void Object.<init>() >
4: RETURN
}
static void <clinit>() {
// Max Stack: 1 Max Locals: 0
6: static int Limit = 3;
0: ICONST_3
1: PUTSTATIC < Field = int HelloWorldApp.Limit >
5: class HelloWorldApp {
4: RETURN
}
} // End of class HelloWorldApp